//
export type TFolderRef = {
  onSubmit: () => Promise<any>;
};

export interface StudyPlanTimeFormProps {
  cycleTime: number;
  planCourseId: string;
  openStatus: number;
}

export type TemplateDrawerRef = {
  open: () => void;
};

export interface TemplatePreviewDrawerProps {
  tpOpen: boolean;
  OnTpClose: () => void;
  onTpUse: () => void;
  prevDetail: {
    guid: string;
    cycleType: 'fixed' | 'cycle';
    cycleDay?: string;
    name: string;
    learnMode: 'order' | 'polling';
    faceImg?: string;
    isCharge?: number;
  };
}
